﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
	
	<sec:authentication property="principal" var="currentPrincipal" scope="page" />
	
	<div class="welcome">
		${currentPrincipal.username}&nbsp;&nbsp;<a class="btn btn-default" href="${ctx}/j_spring_security_logout"><i class="glyphicon glyphicon-off"></i></a>
	</div>